import vue from 'vue'
import vuex from 'vuex'
import moduleCart from '@/store/cart.js'
import moduleUser from '@/store/user.js'

vue.use(vuex)

const store = new vuex.Store({
	modules: {
		'my-cart': moduleCart,
		'my-user': moduleUser
	}
})

export default store